﻿namespace Red.Toolkit.Profiler.Logic
{
    /// <summary>
    /// Named area on time axis
    /// </summary>
    public class Region
    {
        public string _name;
        public double _timeStart;
        public double _timeEnd;
        public int _style;

        public Region( string name, double start, double end, int style )
        {
            _name = name;
            _timeStart = start;
            _timeEnd = end;
            _style = style;
        }

        public string Name { get { return _name; } }
        public double TimeStart { get { return _timeStart; } }
        public double TimeEnd { get { return _timeEnd; } }
        public int Style { get { return _style; } }
    }
}
